package com.shopping.dao;

import com.shopping.pojo.Address;

import java.util.List;

public interface AddressDao {
    // 新增地址
    public int insertAddress(Address address);
    // 修改地址
    public int updateAddress(Address address);
    // 删除地址
    public int deleteAddress(Integer id);
    // 根据用户id查询地址
    public List<Address> selectAddressByUserId(Integer userId);
}
